// IDD_GRAPH.cpp : implementation file
//

#include "stdafx.h"
#include "wfdeq.h"
#include "IDD_GRAPH.h"
#include "afxdialogex.h"


// IDD_GRAPH dialog

IMPLEMENT_DYNAMIC(IDD_GRAPH, CDialogEx)

IDD_GRAPH::IDD_GRAPH(CWnd* pParent /*=NULL*/)
	: CDialogEx(IDD_GRAPH::IDD, pParent)
{

}

IDD_GRAPH::~IDD_GRAPH()
{
}

void IDD_GRAPH::DoDataExchange(CDataExchange* pDX)
{
	CDialogEx::DoDataExchange(pDX);
	DDX_Control(pDX, IDC_PIK, ctrlPik);
}


BEGIN_MESSAGE_MAP(IDD_GRAPH, CDialogEx)
	ON_BN_CLICKED(IDC_BUTTON1, &IDD_GRAPH::OnBnClickedButton1)
END_MESSAGE_MAP()


// IDD_GRAPH message handlers


void IDD_GRAPH::setPik(HBITMAP image)
{
	hwbmp=image;
}


void IDD_GRAPH::OnBnClickedButton1()
{
	ctrlPik.SetBitmap(hwbmp);
}
